package com.datang.petstore.generatemapper;

import com.datang.petstore.entity.MicroblogCommentLikeRecord;
import com.datang.petstore.entity.MicroblogCommentLikeRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MicroblogCommentLikeRecordMapper {
    long countByExample(MicroblogCommentLikeRecordExample example);

    int deleteByExample(MicroblogCommentLikeRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MicroblogCommentLikeRecord record);

    int insertSelective(MicroblogCommentLikeRecord record);

    List<MicroblogCommentLikeRecord> selectByExample(MicroblogCommentLikeRecordExample example);

    MicroblogCommentLikeRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MicroblogCommentLikeRecord record, @Param("example") MicroblogCommentLikeRecordExample example);

    int updateByExample(@Param("record") MicroblogCommentLikeRecord record, @Param("example") MicroblogCommentLikeRecordExample example);

    int updateByPrimaryKeySelective(MicroblogCommentLikeRecord record);

    int updateByPrimaryKey(MicroblogCommentLikeRecord record);
}